.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: $black;
    z-index: 50;
    .fa-caret-down {
        font-size: 12px;
    }
    .logged-user {
        float: right;
        padding: 8px 10px 7px;
        color: #FFF;
        .logged-user-avatar {
            display: inline-block;
            margin-right: 5px;
            width: 30px;
            height: 30px;
            overflow: hidden;
            vertical-align: middle;
            @include borderRadius(50%);
        }
        img {
            width: 100%;
            height: 100%;
        }
        span {
            margin-right: 5px;
            font-size: 14px;
            display: none;
        }
    }
    
    .table-name {
        display: inline-block;
        padding: 0 10px;
        vertical-align: top;
        line-height: 45px;
        span {
            display: inline-block;
            max-width: 150px;
            font-size: 15px;
            font-weight: 700;
            color: $main-color;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            vertical-align: top;
            line-height: 45px;
        }
        .fa-caret-down {
            margin-left: 5px;
            color: #FFF;
            display: none;
        }
    }
    .save {
        display: inline-block;
        border: none;
        padding: 0 10px;
        font-size: 14px;
        line-height: 45px;
        color: $gray;
        vertical-align: top;
        background-color: transparent;
        span {
            margin-left: 5px;
            display: none;
        }
    }
    .export {
        display: inline-block;
        padding: 0 10px;
        font-size: 14px;
        line-height: 45px;
        color: #FFF;
        vertical-align: top;
        span, .fa-caret-down {
            margin-left: 5px;
            display: none;
        }
    }
}

@media screen and (min-width: $vw-small) {
    .top-bar {

        .logged-user {
            span {
                display: inline-block;
            }
        }
        
        .table-name {
            .fa-caret-down {
                display: inline-block;
            }
        }
        
        .save {
            span {
                display: inline-block;
            }
        }
        
        .export {
            span, .fa-caret-down {
                display: inline-block;
            }
        }
    }
}